package com.zwps.starter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

@EnableScheduling
@SpringBootApplication
@ComponentScan({
        "com.zwps.common.mybatis.config",
        "com.zwps.common.controller.advice",
        "com.zwps.common.controller.config",
        "com.zwps.common.rabbitmq.config",
        "com.zwps.common.core",

        "com.zwps.common.cache",
        "com.zwps.common.minio",
        "com.zwps.biz.domain.config",
        "com.zwps.biz.domain.service",
        "com.zwps.biz.domain.extra.rabbitmq.producer",
        "com.zwps.biz.controller",
        "com.zwps.biz.dal.redis",
        "com.zwps.biz.dal.config",
        "com.zwps.biz.controller.listener.rabbitmq"
})
@MapperScan({
    "com.zwps.biz.dal.db.dao",
})
public class ApplicationBoot  {

    public static void main(String[] args) {

        SpringApplication.run(ApplicationBoot.class,args);
    }

}
